package com.qcs.ando.video;

/**
 * Created by chshqiang on 13-9-17.
 */
public interface MediaPlayController {
    public void start();

    public void pause();

    public long getDuration();

    public long getCurrentPosition();

    public void seekTo(long l);

    public boolean isPlaying();

    public int getBufferPercentage();

    public boolean canPause();

    public boolean canSeekBackward();

    public boolean canSeekForward();

    public interface OnCompletionListener{

    }

    public interface OnPreparedListener{

    }

    public interface OnErrorListener{

    }

    public interface OnBufferingUpdateListener{

    }

    public interface OnSeekCompleteListener{

    }

    public interface OnSubtitleUpdateListener{

    }

    public interface OnInfoListener{

    }

}
